﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LimitlessConnector
{
  internal class NetworkSettingsEmptyExceptions : NullReferenceException
  {
    public override string Message
    {
      get
      {
        return "Network settings are empty and must be set before calling any methods";
      }
    }
  }

  internal class InvalidGroupNumberException : NotSupportedException
  {
    public override string Message
    {
      get
      {
        return "Only group numbers 1 to 4 are supported.";
      }
    }
  }

  internal class ColorNotSupportedException : NotSupportedException
  {
    public override string Message
    {
      get
      {
        return "Only color values between 0 and 255 are supported.";
      }
    }
  }

  internal class BrightnessNotSupportedException : NotSupportedException
  {
    public override string Message
    {
      get
      {
        return "Only brightness-values from 2 to 27 are supported."; 
      }
    }
  }
}
